
<div class="row">
  <div class="col-sm-8">
    <div class="inline-block">
      <div class="dataTables_paginate paging_bs_full inline-block" id="datatable1_paginate">
        <ul class="pagination">
          {{#if canStepBackward}}
            <li class="arrow prev enabled-arrow">
              <a href="#" {{action "incrementPage" -1}}>&laquo;</a>
            </li>
          {{else}}
            <li class="arrow prev disabled">
              <a href="#" {{action "incrementPage" -1}}>&laquo;</a>
            </li>
          {{/if}}

          {{#each pageItems as |item|}}
            {{#if item.dots}}
              <li class="dots disabled">
                <span>...</span>
              </li>
            {{/if}}
            {{#if item.current}}
              <li class="active page-number">
                <a>{{item.page}}</a>
              </li>
            {{else}}
              <li class="page-number">
                <a href="#" {{action "pageClicked" item.page}}>{{item.page}}</a>
              </li>
            {{/if}}
          {{/each}}

          {{#if canStepForward}}
            <li class="arrow next enabled-arrow">
              <a href="#" {{action "incrementPage" 1}}>&raquo;</a>
            </li>
          {{else}}
            <li class="arrow next disabled">
              <a href="#" {{action "incrementPage" 1}}>&raquo;</a>
            </li>
          {{/if}}
        </ul>
      </div>
    </div>
    <span class="pagination paging-entry">
      共{{totalCount}}条
    </span>
  </div>
  <div class="col-sm-4">
    <div class="pull-right user-add-btn bottom-func">
      <div class="pointer text-underline" {{action "exportToExcel" on="click"}}>
        <i class="fa fa-file-excel-o">
        </i>
        导出到Excel
      </div>
    </div>
  </div>
</div>
